using System;
using System.Collections.Generic;
using System.Text;

namespace GoogleNet
{
    /// <summary>
    /// Interface that all classes that represent Geometry derived objects must implement.
    /// </summary>
    public interface IKmlGeometry : IKmlElement
    {
        
        /// <summary>
        /// Boolean value (default=0). 
        /// Specifies whether to connect the geometric primitive (icon, line, polygon) to the ground. 
        /// Extrusion requires that the geometry's altitudeMode be either relativeToGround or 
        /// absolute and that within the coordinates element, the altitude component be greater than 0 (that is, in the air). 
        /// </summary>
        /// <value><c>true</c> if extrude; otherwise, <c>false</c>.</value>
        bool Extrude{get; set;}

        /// <summary>
        /// Boolean value (default=0). 
        /// Specifies whether to allow lines and paths to follow the terrain. 
        /// This specification applies only to LineStrings (paths) and LinearRings 
        /// (polygons) that have an altitudeMode of clampToGround. 
        /// Very long lines should enable tessellation so that they follow the curvature of the earth 
        /// (otherwise, they may go underground and be hidden). 
        /// </summary>
        /// <value><c>true</c> if tesselate; otherwise, <c>false</c>.</value>
        bool Tesselate{get; set;}

        /// <summary>
        /// Gets or sets the altitude mode, which specifies how altitude components in the coordinates element are interpreted.
        /// </summary>
        /// <value>The altitude mode.</value>
        KmlAltitudeModes AltitudeMode{get; set;}
        
    }
}
